Page({


    onReady(){
        wx.getSystemInfo({
            success: (result)=>{
                console.log(result);
                wx.makePhoneCall({
                    phoneNumber: 15383009696,
                    success: (result)=>{
                        console.log(result);
                    },
                    fail: ()=>{},
                    complete: ()=>{}
                });
            },
            fail: ()=>{},
            complete: ()=>{}
        });

        wx.getBatteryInfo({
            success:(res)=>{
                console.log(res);
            },
            fail:(res)=>{
                console.log(res);
            },
            complete:(res)=>{
                console.log(res);
            }
        })
    }


})